Fix bug in length calculation of vc_dispmanx_resource_write_data
Fix bug in length calculation of vc_dispmanx_resource_write_data

JamesH65/userland,kraj/userland,ethanol100/userland,Razdroid/android_vendor_rpi_userland,adamheinrich/userland,DexterInd/userland,rsakamoto/rpi-userland,silvanmelchior/userland,maroviher/userland,StealthMicro/userland,maroviher/userland,6by9/userland,oniongarlic/userland,popcornmix/userland,Razdroid/android_vendor_rpi_userland,maxnet/userland,maroviher/userland,maxnet/userland,d3faultdotxbe/raspivid-accurate-fps-via-hacky-framedropping,yzhahn/userland,salih/userland,ethanol100/userland,ethanol100/userland,fredericofs/userland,FIIT-TNL/userland,maxnet/userland,Razdroid/android_vendor_rpi_userland,silvanmelchior/userland,neoatlantis/userland,yzhahn/userland,rsakamoto/rpi-userland,salih/userland,Razdroid/android_vendor_rpi_userland,DexterInd/userland,popcornmix/userland,Razdroid/android_vendor_rpi_userland,fredericofs/userland,raspberrypi/userland,rsakamoto/rpi-userland,hyunkim9123/userland,roberttidey/userland,neoatlantis/userland,d3faultdotxbe/raspivid-accurate-fps-via-hacky-framedropping,gonzoua/userland,rsakamoto/rpi-userland,adamheinrich/userland,luked99/userland-1,d3faultdotxbe/raspivid-accurate-fps-via-hacky-framedropping,silvanmelchior/userland,luked99/userland-1,JamesH65/userland,erlerobot/rpi-userland,FIIT-TNL/userland,luked99/userland-1,kraj/userland,oniongarlic/userland,6by9/userland,silvanmelchior/userland,fredericofs/userland,Razdroid/android_vendor_rpi_userland,roberttidey/userland,hyunkim9123/userland,JamesH65/userland,rsakamoto/rpi-userland,StealthMicro/userland,gonzoua/userland,raspberrypi/userland,neoatlantis/userland,kraj/userland,hyunkim9123/userland,StealthMicro/userland,erlerobot/rpi-userland,yzhahn/userland,silvanmelchior/userland,salih/userland,adamheinrich/userland,erlerobot/rpi-userland,6by9/userland,d3faultdotxbe/raspivid-accurate-fps-via-hacky-framedropping,gonzoua/userland,raspberrypi/userland,roberttidey/userland,oniongarlic/userland,FIIT-TNL/userland,popcornmix/userland,DexterInd/userland