The baroclinic instability in the context of layered accretion - Self-sustained vortices and their magnetic stability in local compressible unstratified models of protoplanetary disks