Make ArrayPortalVirtual GetAs/SetAs methods inline where possible

There can be issues with methods that are used in different translation
units that are defined inline but not marked as inline. You could see
random failrues in downstream VTK-m with CUDA due to ODR violations.

See MR !1680, vtk/vtk-m!1680
28 jobs for cast-through-virtual-method-2 in 0 seconds