Refactor func generateVMVolumeRequestPatch
Refactor func generateVMVolumeRequestPatch

Refactor the function so its cognitive complexity
is reduced below 15 and corresponding sonarcloud
issue is fixed.

Signed-off-by: Tomas Psota <d2995e4b22139cb57cd34d4290fe53e627c3d353@redhat.com>

davidvossel/kubevirt,kubevirt/kubevirt,stu-gott/kubevirt,kubevirt/kubevirt,kubevirt/kubevirt,stu-gott/kubevirt,stu-gott/kubevirt,davidvossel/kubevirt,stu-gott/kubevirt,davidvossel/kubevirt,davidvossel/kubevirt,kubevirt/kubevirt