TIMOB-14168-3_1_X: Fix constructor for BufferProxy

https://jira.appcelerator.org/browse/TIMOB-14168

Test case in Jira.