[Bug 914955] Fix build warnings in Moz2D r=bas