Hard X-Ray-selected AGNs in Low-mass Galaxies from the NuSTAR Serendipitous Survey