Upper critical field in p-wave superconductors with anisotropic pairing interactions