lavu/opt: add flag to return NULL when applicable in av_opt_get