GNSS signal acquisition in the presence of sign transition