tests: Modify p2p_msg_long_ssid to support P2P Device interface