Meronlike Spin Textures in In-Plane-Magnetized Thin Films