Adapt call to magit-section-case to newer version.

magit-section-action has been removed from magit next section, so we
always use magit-section-case.

At the same time, the definition of magit-section-case has been changed,
so code need adaptation to use it.
Merge remote-tracking branch 'kyleam/t/section-case' into next