maint: ocf + script: eliminate some false positives with ShellCheck
In particular, prevent sed's character classes to be confused with
array-like variable access through specified index, which demonstrates
why it's better to have the ${variable} "enbraced".
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>