Optimize IpConversionUtil.extractIpv4AddressMask()
Rather than going through String.format() use simple pre-allocated
StringBuilder.
Furthermore, Ipv4Prefix is guaranteed to always contain a slash,
hence we can use a simple indexOf/substring instead of splitting
the string.
Finally, if the prefix is 32, we can reuse the DottedQuad we keep
around for full arbitrary mask.
JIRA: OPNFLWPLUG-1067
Change-Id: I99f036c86606142a9f844507789293cd9822692f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>