Just one nail is not a safety risk. There drywall is not supposed to be a barrier to water infiltration, so this popped nail will not risk water getting in. Watch out if you see water stains on the ceiling, or nearby nails popping. That means that water is getting in the drywall, where it should not be. Then call your landlord.