Fix the signature of nativeSendScratchpadCommand

Change-Id: Ie90a7317f4cf368bf84a64d72e3d8b0de2458b50