[offline-renderer] fix php error on recent Ubuntu

Signed-off-by: Christopher Hall <hsw@openmoko.com>