Petronas books smaller profit after being hit by lower prices