Second-order accurate finite volume method for G-equation on polyhedral meshes