lib/pdf: make startPage() upstream compatible