[PATCH 4.9 49/62] rtlwifi: Fix potential overflow on P2P code