Validate cursor result of spa_buffer_find_meta_data - cherrypick
spa_buffer_find_meta_data returns null if it was unable to find the relevant metadata. spa_meta_cursor_is_valid still expects a valid pointer.
https://errors-eval.kde.org/organizations/kde/issues/165
(cherry picked from commit 88db0262)